package com.qidianit.mes.pro.mapper;

import com.qidianit.mes.pojo.SysDictData;
import com.qidianit.mes.pojo.qc.CommonDefect;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 戴着假发的程序员
 * @company 起点编程
 * @date 2025/9/3 19:48
 * @description
 */
@Mapper
public interface CommonDefectMapper {
  List<CommonDefect> selectList(CommonDefect commonDefect);
  int save(CommonDefect commonDefect);

  int updateById(CommonDefect commonDefect);

  int deleteById(Long id);

  int batchDelete(@Param("ids") Long[] ids);

  CommonDefect selectById(Long id);
}
